Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the cohesion of the model when a view is part of unification #90

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

Dekker1
Copy link
Contributor

@Dekker1 Dekker1 commented Aug 21, 2024

This commit changes the order of unification and resolving views. Views
are resolved first and then the view is used multiple times if it is
unified. If multiple view are unified (together), then constraints
are added to the Model to ensure they are used together.

Resolves #89

This commit changes the order of unification and resolving views. Views
are resolved first and then the view is used multiple times if it is
unified. If multiple view are unified (together), then constraints
are added to the `Model` to ensure they are used together.
@Dekker1 Dekker1 merged commit 492f63e into develop Aug 21, 2024
8 checks passed
@Dekker1 Dekker1 deleted the fix/unify_with_view branch August 21, 2024 05:27
Copy link

codecov bot commented Aug 21, 2024

Codecov Report

Attention: Patch coverage is 53.53535% with 46 lines in your changes missing coverage. Please review.

Files Patch % Lines
crates/huub/src/model/flatzinc.rs 53.53% 46 Missing ⚠️
Files Coverage Δ
crates/fzn-huub/tests/flatzinc_tests.rs 100.00% <ø> (ø)
crates/huub/src/model/flatzinc.rs 43.52% <53.53%> (+1.54%) ⬆️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Duplicated definitions in literal unification and defines_vars
1 participant